package org.cuit.epoch.seon.combat;

/**
 * @author Seon
 * @version 1.0
 * @since 2024-09-18
 */
public class File implements FileSystemComponent {

    private final String name;
    private final int size;

    public File(String name, int size) {
        this.name = name;
        this.size = size;
    }

    @Override
    public void showDetails() {
        System.out.println("File: " + name + " (" + size + " KB)");
    }

    @Override
    public void add(FileSystemComponent component) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void remove(FileSystemComponent component) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
